package com.qixin.api.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qixin.api.bean.PtMenuResourse;
import com.qixin.api.bean.PtRole;
import com.qixin.api.bean.ZtreeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 菜单资源表 Mapper 接口
 * </p>
 *
 * @author 吕正睿
 * @since 2018-11-13
 */
public interface PtMenuResourseMapper extends BaseMapper<PtMenuResourse> {
	List<PtMenuResourse> findMenuByRole(@Param("param") PtRole ptRole);
	List<ZtreeBean> findMenuZtree();
}